From bd53a51af835478d23bef4772ce7e50553dc3fdf Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Wed, 9 Oct 2024 15:32:52 -0400 Subject: Move a lot of things around --- hi-ui/src/routes/(app)/ch/[channel]/+page.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hi-ui/src/routes/(app)/ch/[channel]/+page.js (limited to 'hi-ui/src/routes/(app)/ch/[channel]/+page.js') diff --git a/hi-ui/src/routes/(app)/ch/[channel]/+page.js b/hi-ui/src/routes/(app)/ch/[channel]/+page.js new file mode 100644 index 0000000..5fd493a --- /dev/null +++ b/hi-ui/src/routes/(app)/ch/[channel]/+page.js @@ -0,0 +1,13 @@ +export const ssr = false; + +import { activeChannel } from '$lib/store'; + + +/** @type {import('./$types').PageLoad} */ +export function load({ params }) { + let { channel } = params; + activeChannel.update((value) => { + value.set(channel) + return value; + }); +} -- cgit v1.2.3